package ru.evga.inse.server.gwt.user.client.menu.admin;

import ru.evga.gwt.lib.common.client.place.PlaceParamMap;
import ru.evga.inse.server.gwt.user.client.IUserAppFactory;

import com.google.gwt.activity.shared.Activity;

public class AdminActivityMapper
{
    private static final AdminActivityMapper s_instance = new AdminActivityMapper();
    
    static public AdminActivityMapper getInstance()
    {
        return s_instance;
    }

    public Activity getContentActivity(PlaceParamMap paramMap, IUserAppFactory factory)
    {
        return new AdminContentActivity(factory);
    }
    
    public Activity getSubMenuActivity(PlaceParamMap paramMap, IUserAppFactory factory)
    {
        return new AdminActivity(factory);
    }
    
}
